package com.gable.exhibition.view;

/**
 * Created by Lesson on 2018/2/28.
 */
public class SocketMessageView {

    private String messageType; //  消息类型，head->socket连接成功后抛出的信息 body ->socket连接中发送的信息

    private String message; //发送消息内容

    private Integer type;  //消息来源类型，1。维修，2.保养，3。安装

    private String key; //唯一   维修id加上设备id   或者保养id加上设备id

    private Long deviceId;

    private Long repairId;

    public String getMessageType() {
        return messageType;
    }

    public void setMessageType(String messageType) {
        this.messageType = messageType;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public Long getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Long deviceId) {
        this.deviceId = deviceId;
    }

    public Long getRepairId() {
        return repairId;
    }

    public void setRepairId(Long repairId) {
        this.repairId = repairId;
    }
}
